package com.yuan.blog.BlogEnum;

/**
 * @program: blog
 * @description:
 * @author: yuan_boss
 * @create: 2022-12-19 13:57
 **/
public enum HttpResponse{

    ACTIVE_CODE_ERROR(100,"激活码有误"),
    ACTIVE_PAGE_ERROR(100,"error","更新账号失败");
    private Integer code;
    private String msg;
    private String tip;

    HttpResponse(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    HttpResponse(Integer code, String msg,String tip) {
        this.code = code;
        this.msg = msg;
        this.tip = tip;
    }


    @Override
    public String toString() {
        return super.toString();
    }
}
